'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	let coll = db.collection(event.seatName)
	let res = await coll.get()
	return res
	
};
